//
//  PrescriptionDetailCell.m
//  HarmonizePub
//
//  Created by rzhy on 2017/1/4.
//  Copyright © 2017年 Zy. All rights reserved.
//

#import "PrescriptionDetailCell.h"

@interface PrescriptionDetailCell ()

@property (weak, nonatomic) IBOutlet UILabel *drugLabel;
@property (weak, nonatomic) IBOutlet UILabel *frequencyLabel;
@property (weak, nonatomic) IBOutlet UILabel *doseLabel;

@end

@implementation PrescriptionDetailCell

+ (NSString *)registerName {
    return @"PrescriptionDetailCell";
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setCellShowDataWithDataDictionary:(NSDictionary *)dataDict {
    self.drugLabel.text = dataDict[@"ypmc"];
    self.frequencyLabel.text = dataDict[@"mrcs"];
    self.doseLabel.text = dataDict[@"ycjl"];
}

@end
